package com.yunhe.transfer.service.data;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Optional;

/**
 * DPU采集和控制配置文件下发、查看service
 * @author duanxiaoyong
 */
public interface DpuFileService {
    Boolean send(String type, Optional<Long> stationId, Optional<String> beeId, MultipartFile file) throws Exception;

    void export(String type, String beeId, String fileName, HttpServletResponse response) throws Exception;
}
